<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <title>uitags</title>
    <t:base type="jquery,easyui,tools,autocomplete"></t:base>
    <SCRIPT type="text/javascript">
        function parse(data){
            var parsed = [];
            $.each(data.rows,function(index,row){
                parsed.push({data:row,result:row,value:row.id});
            });
            return parsed;
        }
        /**
         * 选择后回调
         *
         * @param {Object} data
         */
        function callBack(data) {
            $("#user").val(data.userName);
        }

        /**
         * 每一个选择项显示的信息
         *
         * @param {Object} data
         */
        function formatItem(data) {
            return data.userName + "-->" + " " + data.realName;
        }

        function setContentc(){
            /*  alert("表单提交前想干点啥呢");*/
        }
        function test(){
            /* alert("表单提交后要干点啥呢");*/
        }

    </SCRIPT>
</head>
<body>
<t:formvalid formid="formobj" dialog="true" layout="div" callback="test" action="scrwglController.do?doedit&p=0" beforeSubmit="setContentc">
    <input id="pk_task" name="pk_task" type="hidden" value="${t1.pk_task }"/>
    <input id="pk_node" name="pk_node" type="hidden" value="${t1.pk_node }"/>

    <fieldset class="step">
        <!--  <div class="form">
            <label class="Validform_label">任务标识： </label>
            <input type="text" name="fd_taskno" id="fd_taskno" value="${t1.fd_taskno }" datatype="*" errormsg="该数据项不为空">
            <span class="Validform_checktip"></span>

        </div>-->

        <div class="form">
            <label class="Validform_label"> 频率(秒)： </label>
            <input type="text" name="fd_pl" id="fd_pl" value="${t1.fd_pl }" datatype="*" errormsg="该数据项不为空">
            <span class="Validform_checktip"></span>
        </div>
        <div class="form">
            <label class="Validform_label"> 自动启动： </label>
            <t:dictSelect field="fd_autostart" type="list"
                          typeGroupCode="shifou" defaultVal="${t1.fd_autostart}"  hasLabel="false"  title="自动启动" ></t:dictSelect>
            <span class="Validform_checktip"></span>
        </div>
        <!--  
        <div class="form">
            <label class="Validform_label"> 上传目录： </label>
            <input type="text" name="fd_upml" id="fd_upml" value="${t1.fd_upml }" datatype="*" errormsg="该数据项不为空">
            <span class="Validform_checktip"></span>
        </div>
-->
        <div class="form">
            <label class="Validform_label"> 上传备份目录： </label>
            <input type="text" name="fd_upmlbak" id="fd_upmlbak" value="${t1.fd_upmlbak }" datatype="*" errormsg="该数据项不为空">
            <span class="Validform_checktip"></span>
        </div>
        <div class="form">
            <label class="Validform_label"> ftp服务器ip： </label>
            <input type="text" name="fd_ftpaddr" id="fd_ftpaddr" value="${t1.fd_ftpaddr }" datatype="*" errormsg="该数据项不为空">
            <span class="Validform_checktip"></span>
        </div>
        <div class="form">
            <label class="Validform_label"> ftp端口： </label>
            <input type="text" name="fd_ftpport" id="fd_ftpport" value="${t1.fd_ftpport }" datatype="*" errormsg="该数据项不为空">
            <span class="Validform_checktip"></span>
        </div>
        
        
        <div class="form">
            <label class="Validform_label"> ftp用户： </label>
            <input type="text" name="fd_ftpusr" id="fd_ftpusr" value="${t1.fd_ftpusr }" datatype="*" errormsg="该数据项不为空">
            <span class="Validform_checktip"></span>
        </div>
        <div class="form">
            <label class="Validform_label"> ftp密码： </label>
            <input type="text" name="fd_ftppw" id="fd_ftppw" value="${t1.fd_ftppw }" datatype="*" errormsg="该数据项不为空">
            <span class="Validform_checktip"></span>
        </div>
        <div class="form">
            <label class="Validform_label"> ftp目录： </label>
            <input type="text" name="fd_upml" id="fd_upml" value="${t1.fd_upml }" datatype="*" errormsg="该数据项不为空">
            <span class="Validform_checktip"></span>
        </div>

<%--        <div class="form">
            <label class="Validform_label"> 备注： </label>
            <input type="text" name="fd_bz" id="fd_bz" value="${t1.fd_bz }">
            <span class="Validform_checktip"></span>
        </div>--%>


    </fieldset>
</t:formvalid>
</body>
</html>
<t:authFilter />






